package com.cy1;

import java.util.Date;

public class DateDemo1 {
    public static void main(String[] args) {
        Date d = new Date();
        System.out.println(d);

        long c=1000*60*60*24;
        Date d2 = new Date(c);
        System.out.println(d2);
    }
}
